package com.cqjtu.tto.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.tto.dao.pojo.Salary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 工资 Mapper 接口
 * </p>
 *
 * @author MrLuo
 * @since 2021-12-14
 */
@Mapper
@Repository
public interface SalaryMapper extends BaseMapper<Salary> {
    // 获取全部员工上次的工资情况
    List<Salary> listEmployeeSalary(@Param("lastDate") LocalDate lastDate);
}
